home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
dirc100.arc
/
DIRC_ENG.DOC
< prev
next >
Wrap
Text File
|
1991-09-17
|
11KB
|
306 lines
August 1991
╔════════════════════╗
║ DIRC version 1.00 ║
╟────────────────────╢
║ Ronnie van Schaijk ║
╚════════════════════╝
>>>> DIRC 1.00 is Public Domain Software <<<<
DIRC version 1.00
-----------------
With DIRC you can check EXEcute en COMmand files on their
compression technique. First is was only mend to check the
LZexe and PKlite compression, later on the compression technique
of EXEpack and the self-extracting files from the different
archive programs came along (for an update of the supported
exe/com compression techniques and the self-extracting programs,
see the versions list at the end). The last check is a check on
the use of overlay-files. A lot of the execute files which uses
overlays can't be compressed with PKlite and LZexe so that's
why this check is also available. Another added application is
that it recognizes files which are protected with EPW. The last
file check is a check on window or OS/2 files. Those files can
only run in the MS-windows or OS/2 environment and because of
this exception those files can't be compressed.
Used compression technique
--------------------------
DIRC version 1.00 supports a lot of compression techniques. The
following programs compress EXEcute and COMmand files so that they
can be executed (the programs are decompressed in memory).
(the version numbers are the versions which I used for testing,
for most the version before and perhaps the versions after
this one will also work along with DIRC 1.00)
EXE & COM : PKlite version 1.00 till 1.12, PKWARE Inc.
Diet version 1.00 till 1.10a, Teddy Matsumoto
Scrnch version 1.00 till 1.02, Greame W. McRae
EXE : LZexe version 0.91, Fabrice BELLARD
EXEpack, Microsoft
Pack, Turbo Power Software
Tinyprog, Tranzoa Co. 6/8/90 till 1/25/91 (version 3)
COM : Shrink version 1.0, Thomas G. Hanlin III
Ice version 1.00, Keith P. Graham (this is not the
hack version of lharc but a whole different program)
Self-extracting archive programs
--------------------------------
The following self-extracting files will be supported.
(It is possible in very few cases that DIRC gives a false message
indicating that some file is compressed with a archive-program
while this files is not compressed with this program. This is because
DIRC searches through parts of the file to some strings.)
EXE & COM : LHARC version 1.13c, Haruyasu Yoshizaki
LARC version 3.33, K.MIKI H.OKUMURA K.MASUYAMA
EXE : ARJ version 0.15 till 2.20, Robert K Jung
DWC version A5.01, Dean W. Cooper
HYPER version 2.5, P. Sawatzki K.P. Nischke
LH(A) version 2.05 till 2.12, Haruyasu Yoshizaki
PAK version 2.51, NoGate Consulting
PKXARC version 3.5, PKWARE Inc.
ARC version 6.02, System Enhancement Associates Inc.
PKZIP version 1.10, PKWARE Inc.
ZOO version 2.01, Rahul Dhesi
COM : SCNRCH version 1.00, Greame W. McRae
Password protection files
-------------------------
DIRC checks EXEcute and COMmand files whether they are protected
with the program EPW. EPW protects files with a password which
must be entered before the program can be run.
I have tested the program with EPW version 1.2, but it is probably
that dirc works fine with other versions of EPW. EPW version 1.2
is made by Alan D. Jones.
WINDOW and OS/2 files
---------------------
Because the MS-windows and OS/2 files can only be executed in the
MS-windows or OS/2 environment, the files can't be compressed.
This is the reason why DIRC checks if an execute-file is a MS-windows
or OS/2 file.
HACKED files
------------
During the last few months several programs are seen with a so called
hacked (or rewritten) header. With this rewritten header the files
can not be decompressed to its original and are a lot harder to
recognize. Examples are the files gus 1.40 (diet) and view 1.08
(pklite). Those files won't be recognized by the compression program
either.
Necessary programs
------------------
DIRC works without any other program. Only for the option /V you
need to have some archive programs in your path. Are those archive
programs not in your path, than works the /V not for that particular
compression technique.
for ARC-exe : PAK.EXE
ARJ-exe : ARJ.EXE
HYP-exe : HYPER.EXE
LZH-exe/com and
LZS-exe/com : LHARC.EXE or
LHA.EXE (only for files which used LHA.EXE)
PAK-exe : PAK.EXE
ZIP-exe : PKUNZIP.EXE or
PAK.EXE (version 2.50 or higher)
Options
-------
DIRC has a few options so that only one specific compression
technique will be checked. The following options can be used
(every option must be preceded by a / )
A check the files not only for Diet, LZexe, PKlite
Shrink, Tinyprog and EXEpack compression techniques
but check them also for self-extracting files. This
option is not necessary for option /O or /V.
B for use of DIRC in batch files. With this option
there isn't any display on the screen but the
program will return an exit-code. This exit-code can
be used in a batch-program (see exit-codes).
C check for a particular compression method. When there
is no character behind the C, only the files which
are compressed are selected. Behind the C the
following characters are possible:
C Scrnch D Diet
E exepack & pack I Ice
L Lzexe P Pklite
S Shrink T Tinyprog
With the option CE the following programs will be
checked. The first is exepack from Microsoft and the
second is pack from Turbo Power Software.
For the PKlite files not only the normal and commercial
version is recognized, but also hacked versions (when
the pklite-line in the beginning of the file is over-
written) will be recognized. (With those files even
pklite won't recognize the files anymore!)
D check not only the files in this directory,
but also the files in the sub-directories.
H show a short description of DIRC and the options.
N show only the files which are not compressed with
any (in this program known) compression technique.
O show those (self-extracting) files which are made
with a archive program like ARJ, DWC, HYPER, LARC,
LHARC, PKARC, PAK, PKZIP, SCRNCH or ZOO.
P show only those files which are protected (with the
program EPW).
RO show the files which uses overlays.
RN show the files which do NOT use overlays.
T calculate always the totals of all types of files.
When this option is used at the end the totals of all
files are displayed. Only the number of overlay files
is the real number of files which is displayed.
V show the files inside a self-extracting files from
ARC, ARJ, HYPER, LARC, LHARC, PAK and PKZIP (for this
option some files must be available in the path).
W show only those files which must be executed in
MS-windows or OS/2.
Exit-codes
----------
Whenever the option /B will be used, the following exit-codes are
important:
0 file not found
1 file is not an execute file (but has the
extension .EXE)
2 pklite file
3 arj-execute file
4 zip-execute file
5 lharc-execute/command file
6 pak-execute file
7 pkxarc-execute file
8 dwc-execute file
9 zoo-execute file
10 LZexe file
11 normal execute/command file
12 EXEpack file
13 larc-execute/command file
14 password protected file
15 diet file
16 hyper-execute file
17 lh(a)-execute file
18 tinyprog file
19 shrink file
20 ms-windows or OS/2 file
21 pack file
22 scrnch file
23 scrnch (self-extracting) file
24 ice file
25 pklite commercial file
26 pklite hacked file
27 diet hacked file
50 normal execute file with OVERLAYS
For an example about these exit-code you can look to the batch
files.
For questions about DIRC
------------------------
Whenever there are questions or suggestions for DIRC, they can be
send by netmail towards the following bbs to Ronnie Van.Schaijk.
The newest version of DIRC can also be found on this BBS.
BBS: The Gauntlet
telephone +31-73-569797
fido 2:512/37
modem speeds to HST/V32
sysop Jan.frederik Nipshagen
in the Netherlands
Author: Ronnie van Schaijk
Oss (Netherlands)
Versions
--------
1.00 (27-AUG-1991)
- added the check for ARC (6.02) self-extracting files.
- added the /Total option.
- the exit-code for PKLITE is changed. There are different
exit-codes for the normal, commercial and hacked versions.
- the code to recognize ice files is added
- the newest version of tinyprog (version 3.00) is recognized
- an other version of exepack named pack from Turbo Power
Software is added
- the code to recognize the SCRNCH-files is added. Not only
the code to recognize compressed com-files but also the code
to recognize compressed text (or self-extracting) files is
added.
- a minor bug with arj.exe is solved
- the option /C_ is added in stead of the separate
options EILPST. Also is the option /W (password) changed
to /P.
- the code to recognize the MS-windows or OS/2 files is
added (see option /W).
0.90 (29-APR-1991)
- the self-extracting file-code for LH(A) files is added
- the options /S and /T for the programs Shrink and Tiny-
prog are added.
- the check for ARJ-files is improved, the false alarms of
lzexe (arj 0.20) or diet (arj 1.00) are gone. The ARJ-exe
files made with version 2.00 will be recognized
- the newest diet 1.02b and pklite 1.05 will be recognized
by this (and newer) versions of DIRC
0.82 ( 3-FEB-1991)
- the option /B is added
- the archiver HYPER is added
- the name of the program is changed from dirx to DIRC
This is done to get rid of the confusion with other utils
0.81 - the compression technique diet is added
0.80 (16-JAN-1991)
- added the difference between the calculated en expected
number of bytes by files which use overlays
- the possibility to hold the scrolling by pressing any
key (except ESC)
0.79 - added the filesize of each file
0.78 - changed the code for ARJ version .20 self-extracting file
0.77 - first official version
0.75 - beta-version